Mixture detection method and device

ABSTRACT

A mixture detection method and device relating to substance detection technology. The proportion contents of substances contained in a mixture can be detected. The method includes: performing measurement spectrum line collection on a to-be-detected mixture to identify the kinds of substances in the to-be-detected mixture; selecting a characteristic peak of a measurement spectrum line of each kind of substance according to the kinds of substances, and obtaining an intensity proportion of the characteristic peak of each kind of substance; querying a relative activity database according to the kinds of the substances to obtain relative activity corresponding to each kind of substance; and determining the proportion contents of the substances contained in the mixture according to the intensity proportion of the characteristic peak of each kind of substance and the quotient of the relative activities.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims the benefit of PCT application No.PCT/CN2017/113420 filed on Nov. 28, 2017, the contents of which areincorporated herein by reference.

FIELD OF THE INVENTION

The embodiment of the present invention relates to substance detectiontechnology, and more particularly to a mixture detection method anddevice.

BACKGROUND OF THE INVENTION

During substance detection, the detection by instrumental analysis atpresent is mainly based on the comparison of substance characteristicsstored in databases, such as the comparison of the spectralcharacteristics of the substances. The volume is great when the databaseis constructed based on the mixture. For example, if the mixturedatabase is constructed by using the original method, the data size isvery large. If every two of 10,000 substances are mixed, there are49,995,000 possibilities. If every three are mixed, there are 1.67*10¹¹possibilities. If different mixing proportions are considered, the typeswill increase by 100 times. These make the solution unfeasible.Therefore, the constructed database is mainly a single pure substancedatabase, which can only satisfy the analysis and identification of asingle substance. Moreover, by using the method, only the kinds of thesubstances can be identified, but the proportion contents of thesubstances contained in the mixture cannot be detected.

SUMMARY OF THE INVENTION

The embodiment of the present invention provides a mixture detectionmethod and device capable of detecting the proportion contents ofsubstances contained in a mixture.

In a first aspect, a mixture detection method is provided, including:

performing measurement spectrum line collection on a mixture to identifythe kinds of substances in the mixture, wherein the solvent of themixture is a first calibration substance;

selecting a characteristic peak of a measurement spectrum line of eachkind of substance according to the kinds of substances, and obtaining anintensity proportion of the characteristic peak of each kind ofsubstance;

querying a relative activity database according to the kinds of thesubstances to obtain relative activity corresponding to each kind ofsubstance, wherein the relative activity database includes the relativeactivity L of at least one kind of standard sample substance, wherein

${L = {C{\sum\limits_{i = 0}^{n}{{L(i)}/n}}}},$L(i)=I(i)/(T*W), and C is a constant; and when the first calibrationsubstance is mixed with the standard sample substance according to afirst predetermined proportion, T represents an integration time whenthe characteristic peak of the measurement spectrum line of the standardsample substance reaches an intensity value I(i), W represents theexcitation intensity of a signal source of the measurement spectrumline, and n represents the collection times of the intensity value ofthe measurement spectrum line of the standard sample substance; and

determining the proportion contents of the substances contained in themixture according to the intensity proportion of the characteristic peakof each kind of substance and a product of the relative activities.

In a second aspect, a mixture detection device is provided, including:

a detection unit, configured to perform measurement spectrum linecollection on a mixture to identify the kinds of substances in themixture, wherein the solvent of the mixture is a first calibrationsubstance; and

a processing unit, configured to select a characteristic peak of ameasurement spectrum line of each kind of substance according to thekinds of substances identified by the detection unit, and obtaining anintensity proportion of the characteristic peak of each kind ofsubstance;

wherein the processing unit is configured to query a relative activitydatabase according to the kinds of the substances identified by thedetection unit to obtain relative activity corresponding to each kind ofsubstance, wherein the relative activity database includes the relativeactivity L of at least one kind of standard sample substance, wherein

${L = {C{\sum\limits_{i = 0}^{n}{{L(i)}/n}}}},$L(i)=I(i)/(T*W), and C is a constant; and when the first calibrationsubstance is mixed with the standard sample substance according to afirst predetermined proportion, T represents an integration time whenthe characteristic peak of the measurement spectrum line of the standardsample substance reaches an intensity value I(i), W represents theexcitation intensity of a signal source of the measurement spectrumline, and n represents the collection times of the intensity value ofthe measurement spectrum line of the standard sample substance; and

the processing unit is further configured to determine the proportioncontents of the substances contained in the mixture according to theintensity proportion of the characteristic peak of each kind ofsubstance and a product of the relative activities.

In a third aspect, a mixture detection device is provided, including: amemory, an interface and a processor; the memory and a communicationinterface are coupled to the processor; and the memory is configured tostore computer executable codes, the processor is configured to executethe computer executable codes to control the execution of the mixturedetection method of the first aspect, and the interface is configuredfor data transmission of the mixture detection device and an externaldevice.

In a fourth aspect, a computer readable storage medium storing one ormore programs is provided, the one or more programs includeinstructions, and the instructions cause a computer to execute themixture detection method of the first aspect when being executed by thecomputer.

In the above solutions, firstly, the measurement spectrum linecollection is performed on the mixture to identify the kinds ofsubstances in the mixture, and the solvent of the mixture is the firstcalibration substance; then, the characteristic peak of the measurementspectrum line of each kind of substance is selected according to thekinds of substances, and the intensity proportion of the characteristicpeak of each kind of substance is obtained; the relative activitydatabase is queried according to the kinds of the substances to obtainthe relative activity corresponding to each kind of substance, whereinthe relative activity database includes the relative activity L of atleast one kind of standard sample substance, wherein

${L = {C{\sum\limits_{i = 0}^{n}{{L(i)}/n}}}},$L(i)=I(i)/(T*W), and C is a constant; and when the first calibrationsubstance is mixed with the standard sample substance according to thefirst predetermined proportion, T represents an integration time whenthe characteristic peak of the measurement spectrum line of the standardsample substance reaches an intensity value I(i), W represents theexcitation intensity of a signal source of the measurement spectrumline, and n represents the collection times of the intensity value ofthe measurement spectrum line of the standard sample substance; and theproportion contents of the substances contained in the mixture aredetermined according to the intensity proportion of the characteristicpeak of each kind of substance and the product of the relativeactivities. Therefore, the proportion contents of the substancescontained in the mixture are detected.

BRIEF DESCRIPTION OF THE DRAWINGS

To illustrate technical solutions in the embodiments of the presentinvention more clearly, a brief introduction on the accompanyingdrawings which are needed in the description of the embodiments or theprior art is given below. Apparently, the accompanying drawings in thedescription below are merely some of the embodiments of the presentinvention, based on which other accompanying drawings can be obtained bythose of ordinary skill in the art without any creative effort.

FIG. 1 is a flowchart of a mixture detection method provided by anembodiment of the present invention;

FIG. 2 is a flowchart of a mixture detection method provided by anotherembodiment of the present invention;

FIG. 3 is a flowchart of a mixture detection method provided by yetanother embodiment of the present invention;

FIG. 4 is a structural schematic diagram of a mixture detection deviceprovided by an embodiment of the present invention;

FIG. 5A is a structural schematic diagram of a mixture detection deviceprovided by another embodiment of the present invention;

FIG. 5B is a structural schematic diagram of a mixture detection deviceprovided by yet another embodiment of the present invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

It should be noted that, in the embodiment of the present invention, thewords “exemplary” or “for example” and the like are used as examples,illustrations or descriptions. Any embodiment or design solutiondescribed as “exemplary” or “for example” in the embodiment of thepresent invention should not be construed as preferred or moreadvantageous over other embodiments or designs. Exactly, the words“exemplary” or “for example” and the like are used for presentingrelated concepts in a specific manner.

It should be noted that, in the embodiment of the present invention,“of”, “relevant” and “corresponding” can sometimes be usedinterchangeably. It should be noted that, when the difference is notemphasized, the meanings to be expressed are the same.

The mixture detection device provided by the embodiment of the presentinvention is a PC or the like installed with a software client or asoftware system or a software application that can execute the methodprovided by the embodiment of the present invention, and the specifichardware implementation environment can be a general-purpose computerform, or an ASIC manner, or FPGA, or some programmable extensionplatforms such as an Xtensa platform of Tensilica and so on. The basiccomponents include a processor, a hard disk, a memory, a system bus andthe like, which are similar to the general-purpose computerarchitecture.

Based on the above-mentioned mixture detection device, as shown in FIG.1, the embodiment of the present invention provides a mixture detectionmethod, including the following steps:

101, measurement spectrum line collection is performed on a mixture toidentify the kinds of substances in the mixture, wherein the solvent ofthe mixture is a first calibration substance.

102, a characteristic peak of a measurement spectrum line of each kindof substance is selected according to the kinds of substances, and anintensity proportion of the characteristic peak of each kind ofsubstance is obtained.

103, a relative activity database is queried according to the kinds ofthe substances to obtain relative activity corresponding to each kind ofsubstance.

Wherein the relative activity database includes the relative activity Lof at least one kind of standard sample substance.

${L = {C{\sum\limits_{i = 0}^{n}{{L(i)}/n}}}},$L(i)=I(i)/(T*W), and C is a constant; and when the first calibrationsubstance is mixed with the standard sample substance according to afirst predetermined proportion, T represents an integration time whenthe characteristic peak of the measurement spectrum line of the standardsample substance reaches an intensity value I(i), W represents theexcitation intensity of a signal source of the measurement spectrumline, and n represents the collection times of the intensity value ofthe measurement spectrum line of the standard sample substance. Whereinthe standard sample substance is mixed with the first calibrationsubstance in equal proportions, the measurement spectrum line includesat least one of the following: Raman spectrum, infrared spectrum, laserinduced breakdown spectrum LIBS, mass spectrum, chromatography, andionic migration spectrum; and n is at least one, and is 3-5 in apreferred example.

104, the proportion contents of the substances contained in the mixtureare determined according to the intensity proportion of thecharacteristic peak of each kind of substance and a product of therelative activities.

In the above solution, firstly, the measurement spectrum line collectionis performed on the mixture to identify the kinds of substances in themixture, and the solvent of the mixture is the first calibrationsubstance; then, the characteristic peak of the measurement spectrumline of each kind of substance is selected according to the kinds ofsubstances, and the intensity proportion of the characteristic peak ofeach kind of substance is obtained; the relative activity database isqueried according to the kinds of the substances to obtain the relativeactivity corresponding to each kind of substance, wherein the relativeactivity database includes the relative activity L of at least one kindof standard sample substance, wherein

${L = {C{\sum\limits_{i = 0}^{n}{{L(i)}/n}}}},$L(i)=I(i)/(T*W), and C is a constant; and when the first calibrationsubstance is mixed with the standard sample substance according to thefirst predetermined proportion, T represents an integration time whenthe characteristic peak of the measurement spectrum line of the standardsample substance reaches an intensity value I(i), W represents theexcitation intensity of a signal source of the measurement spectrumline, and n represents the collection times of the intensity value ofthe measurement spectrum line of the standard sample substance; and theproportion contents of the substances contained in the mixture aredetermined according to the intensity proportion of the characteristicpeak of each kind of substance and the product of the relativeactivities. Therefore, the proportion contents of the substancescontained in the mixture are detected.

Before the step 101, the relative activity database needs to beconstructed. As shown in FIG. 2, the method includes the followingsteps:

201, when the first calibration substance and the standard samplesubstance are mixed according to a first predetermined proportion, theexcitation intensity W of the signal source is set, and the integrationtime T is set.

202, the relative activity L of the standard sample substance isobtained, when the characteristic peak of the measurement spectrum lineof the standard sample substance reaches the intensity value I(i).

203, the relative activity L of at least one standard sample substanceis added to the relative activity database.

It should be noted that, when the standard sample substances aredifferent, the solvents (the first calibration substances) capable ofdissolving the same are also different, therefore, in order to performunified calculation, the relative activities can be converted into aunified relative activity with reference to a second calibrationsubstance. For example, if a part of substances in the relative activedatabase is soluble in water, a part of substances are soluble inethanol, then the relative activities L of the substances soluble inwater can be directly calculated, and the constant is set as C=1. Thevalue of the constant C of the substances soluble in ethanol can becalculated according to the following method:

When the first calibration substance and the second calibrationsubstance are mixed according to a second proportion, the excitationintensity W of the signal source is set, and the integration time T isset; the relative activity

${L_{1} = {\sum\limits_{i = 0}^{n}{{L_{1}(i)}/n}}},$L₁(i)=I₁(i)/(T*W) of the first calibration substance is obtained, whenthe characteristic peak of the measurement spectrum line of the firstcalibration substance reaches the intensity value I₁(i); the relativeactivity

${L_{2} = {\sum\limits_{i = 0}^{n}{{L_{2}(i)}/n}}},$L₂(i)=I₂(i)/(T*W) of the first calibration substance is obtained, whenthe characteristic peak of the measurement spectrum line of the secondcalibration substance reaches the intensity value I₂(i); and theconstant C=L₁\L₂ is calculated. After ethanol and water are mixed, theratio of the relative activity L_(alcohol) of the ethanol to therelative activity L_(water) of water is set as C. Based on the abovemethod, the relative activity L can be converted to the unifiedreference calibration substance, so that the subsequent calculation ofthe proportion contents of the substances contained in the mixture isnot affected. Of course, the above descriptions are merely illustrationsby using the ethanol and water as the calibration substances. When othersubstances are used as the calibration substances, the calculationmethod of the constant a is similar, and will not be described again.

Exemplarily, using an example that the measurement spectrum line is theRaman spectrum, the signal source is a laser, the to-be-detected mixtureis a mixture of substances A and B, and the detection method thereof, asshown in FIG. 3, is specifically as follows:

301, the excitation intensity W of the laser is set, the integrationtime T is set, and the relative activity L of the standard samplesubstance is obtained, when the characteristic peak of the measurementspectrum line of the standard sample substance reaches the intensityvalue I(i).

Exemplarily, the value range of the integration time T is generally0.1-10 seconds, the excitation intensity is 350 mW, the intensity valueof the characteristic peak of the Raman spectrum of the standard samplesubstance can be collected for 3-5 times, and then averaging isperformed to obtain the relative activity

${L = {C{\sum\limits_{i = 0}^{n}{{L(i)}/n}}}},$of the standard sample substance. For the value of C herein, referencecan be made to the above method and it is not described again.

302, the relative activity L of at least one standard sample substanceis added to the relative activity database.

The relative activity of each substance is obtained by analogy via thesteps 301-302, and the relative activity database is established.

303, Raman spectrum collection is performed on the to-be-detectedmixture, and the kinds A and B of the substances in the to-be-detectedmixture are identified.

304, an intensity proportion C_(A) of the characteristic peak of theRaman spectrum of A and the intensity proportion C_(B) of thecharacteristic peak of the Raman spectrum of B are obtained according tothe characteristic peaks of the Raman spectra of A and B.

305, the relative activity database is queried to obtain the Ramanrelative activity L_(A) of A and the Raman relative activity L_(B) of B.

306, the proportion contents of A and B in the to-be-detected mixtureare calculated as: (C_(A)/L_(A)):(C_(B)/L_(B)).

The above descriptions are merely illustrations by taking the mixture oftwo substances as an example, a plurality of mixtures can besequentially calculated according to the method, the above analysisprocess of the proportion of the mixture can be applied to jointdetection scenarios such as non-destructive detection reaction degree ofa chemical reaction process, reaction completion degree in a substancesynthesis process such as drugs and fertilizers and the like.

The embodiment of the present invention can divide the function modulesof the mixture detection device according to the above method example.For example, the function modules can be divided according to thefunctions, and two or more functions can also be integrated into oneprocessing module. The above integrated modules can be implemented inthe form of hardware or in the form of software functional modules. Itshould be noted that, the division of the modules in the embodiment ofthe present invention is schematic and is only a logical functiondivision, and there may be other division manners in the actualimplementation.

An example is provided, FIG. 4 shows a possible structural schematicdiagram of the mixture detection device provided involved in theembodiment of the present invention, and the mixture detection deviceincludes a processing unit 41 and a detection unit 42. The processingunit 41 is configured to support the mixture detection device to executethe processes 102, 103 and 104 in FIG. 1; and the detection unit 42 isconfigured to support the mixture detection device to execute theprocess 101 in FIG. 1. All related contents in the steps involved in theabove method embodiment can be quoted to the function descriptions ofthe corresponding functional modules, for example, it is not repeatedredundantly herein.

Another example is provided, FIG. 5A show a possible structuralschematic diagram of the mixture detection device provided involved inthe embodiment of the present invention. The mixture detection deviceincludes a communication module 51 and a processing module 52. Theprocessing module 52 is configured to control and managing the actionsof the mixture detection device, for example, the processing module 52is configured to support the mixture detection device to execute theprocesses 101-104 in FIG. 1. The communication module 51 is configuredto support the mixture detection device to perform data transmissionwith other external devices, such as the communication with a sensor, toobtain a collection result of the sensor on a measurement spectrum line.The mixture detection device can further include a storage module forstoring program codes and data of the mixture detection device.

The processing module 52 can be a processor or a controller, forexample, can be a central processing unit (CPU), a general-purposeprocessor, a digital signal processor (DSP), an application-specificintegrated circuit (ASIC), a field programmable gate array (FPGA) orother programmable logic device, a transistor logic device, a hardwarecomponent, or any combination thereof. The processing module canimplement or execute various illustrative logical blocks, modules andcircuits described in combination with the contents disclosed in thepresent invention. The processor can also be a combination for achievingcomputing functions, such as a combination of one or moremicroprocessors, a combination of a DSP and a microprocessor, or thelike. The communication module 81 can be a transceiver, a transceivercircuit, a communication interface or the like. The storage module canbe a memory.

Exemplarily, the processing module 52 can be a processor, thecommunication module 51 can be a communication interface, and thestorage module can be a memory. As shown in FIG. 5B, a mixture detectiondevice is provided, including: a processor 61, a communication interface62, a memory 63 and a bus 64; the memory 63 and the communicationinterface 62 are coupled to the processor 61 via the bus 64; and the bus64 can be a peripheral component interconnect (PCI) bus or an extendedindustry standard architecture (EISA) bus or the like. The bus can bedivided into an address bus, a data bus, a control bus, and the like.For ease of representation, the bus is just expressed by a thick line inFIG. 6B; however, it does not mean that there is only one bus or onetype of buses.

The embodiment of the present invention further provides a computerreadable storage medium storing one or more programs, wherein the one ormore programs include instructions, and the instructions cause acomputer to execute the mixture detection method of the above embodimentwhen being executed by the computer.

The embodiment of the present invention further provides a computerprogram product that can be directly loaded into an internal memory of acomputer and contains software codes, and the computer program can beloaded and executed by the computer to implement the mixture detectionmethod provided by the above embodiment.

The steps of the method or algorithm described in combination with thedisclosed contents of the present invention can be implemented in ahardware form, or can be implemented by a processor executing softwareinstructions. The software instructions can be composed of correspondingsoftware modules, and the software modules can be stored in a randomaccess memory (RAM), a flash memory, a read only memory (ROM), anerasable programmable read only memory (EPROM), an electrically erasableprogrammable read only memory (EEPROM), a register, a hard disk, amobile hard disk, a compact disk read only (CD-ROM) or any other form ofstorage medium known in the art. An exemplary storage medium is coupledto the processor, so that the processor can read information from thestorage medium and can write information into the storage medium. Ofcourse, the storage medium can also be a constituent part of theprocessor. The processor and the storage medium can be located in anASIC. Additionally, the ASIC can be located in a core network interfacedevice. Of course, the processor and the storage medium can also existas discrete components in the core network interface device.

Those skilled in the art will appreciate that, in one or more examplesdescribed above, the functions described by the present invention can beimplemented by hardware, software, firmware, or any combination thereof.When implemented by the software, these functions can be stored in acomputer readable medium or transmitted as one or more instructions orcodes on the computer readable medium. The computer readable mediaincludes a computer storage medium and a communication medium, whereinthe communication medium includes any medium that is convenient fortransmitting a computer program from one location to another. Thestorage medium can be any available medium that can be accessed by ageneral purpose or special purpose computer.

The objectives, the technical solutions and the beneficial effects ofthe present invention are further described in detail in the abovespecific embodiments. It should be understood that the foregoingdescriptions are only exemplary embodiments of the present invention andare not intended to limit the present invention, and any modifications,equivalent substitutions, improvements and the like made on the basis ofthe technical solutions of the present invention should be included inthe protection scope of the present invention.

The invention claimed is:
 1. A mixture detection method, comprising:performing measurement spectrum line collection on a mixture consistingof different kinds of substances to identify the kinds of the substancesin the mixture, wherein a solvent of the mixture is a first calibrationsubstance; selecting a characteristic peak of a measurement spectrumline of each kind of substance according to the kinds of the substances,and obtaining an intensity proportion of the characteristic peak of eachkind of substance; querying a relative activity database according tothe kinds of the substances to obtain relative activity corresponding toeach kind of substance, wherein the relative activity database comprisesthe relative activity L of at least one kind of standard samplesubstance, wherein ${L = {C{\sum\limits_{i = 0}^{n}{{L(i)}/n}}}},$L(i)=I(i)/(T*W), and C is a constant; and when the first calibrationsubstance is mixed with the standard sample substance according to afirst predetermined proportion, T represents an integration time whenthe characteristic peak of the measurement spectrum line of the standardsample substance reaches an intensity value I(i), W represents anexcitation intensity of a signal source of the measurement spectrumline, and n represents collection times of the intensity value of themeasurement spectrum line of the standard sample substance; anddetermining the proportion contents of the different kinds of substancescontained in the mixture according to the intensity proportion of thecharacteristic peak of each kind of substance and a quotient of therelative activities.
 2. The method according to claim 1, furthercomprising: when the first calibration substance and the standard samplesubstance are mixed according to a first predetermined proportion,setting the excitation intensity W of the signal source, and setting theintegration time T; obtaining the relative activity L of the standardsample substance, when the characteristic peak of the measurementspectrum line of the standard sample substance reaches the intensityvalue I(i); and adding the relative activity L of at least one standardsample substance to the relative activity database.
 3. The methodaccording to claim 1, further comprising: when the first calibrationsubstance and the standard sample substance are mixed according to asecond predetermined proportion, setting the excitation intensity W ofthe signal source, and setting the integration time T; obtaining therelative activity ${L_{1} = {\sum\limits_{i = 0}^{n}{{L_{1}(i)}/n}}},$L₁(i)=I₁(i)/(T*W) of the first calibration substance, when thecharacteristic peak of the measurement spectrum line of the firstcalibration substance reaches the intensity value I₁(i); and therelative activity ${L_{2} = {\sum\limits_{i = 0}^{n}{{L_{2}(i)}/n}}},$L₂(i)=I₂(i)/(T*W) of the first calibration substance, when thecharacteristic peak of the measurement spectrum line of a secondcalibration substance reaches the intensity value I₂(i); and calculatingthe constant C=L₁\L₂.
 4. The method according to claim 1, wherein thestandard sample substance is mixed with the first calibration substancein equal proportions.
 5. The method according to claim 1, wherein themeasurement spectrum line comprises at least one of the following: Ramanspectrum, infrared spectrum, laser induced breakdown spectrum LIBS, massspectrum, chromatography, and ionic migration spectrum.
 6. A mixturedetection device, comprising: a memory, an interface and a processor;the memory and a communication interface are coupled to the processor;the memory is configured to store computer executable instructions, theinterface is configured for data transmission of the mixture detectiondevice and an external device, and the processor is configured toexecute the computer executable instructions to control an execution ofa mixture detection method comprising: performing measurement spectrumline collection on a mixture consisting of different kinds of substancesto identify the kinds of the substances in the mixture, wherein asolvent of the mixture is a first calibration substance; selecting acharacteristic peak of a measurement spectrum line of each kind ofsubstance according to the kinds of the substances, and obtaining anintensity proportion of the characteristic peak of each kind ofsubstance; querying a relative activity database according to the kindsof the substances to obtain relative activity corresponding to each kindof substance, wherein the relative activity database comprises therelative activity L of at least one kind of standard sample substance,wherein ${L = {C{\sum\limits_{i = 0}^{n}{{L(i)}/n}}}},$ L(i)=I(i)/(T*W),and C is a constant; and when the first calibration substance is mixedwith the standard sample substance according to a first predeterminedproportion, T represents an integration time when the characteristicpeak of the measurement spectrum line of the standard sample substancereaches an intensity value I(i), W represents an excitation intensity ofa signal source of the measurement spectrum line, and n representscollection times of the intensity value of the measurement spectrum lineof the standard sample substance; and determining the proportioncontents of the different kinds of substances contained in the mixtureaccording to the intensity proportion of the characteristic peak of eachkind of substance and a quotient of the relative activities.
 7. Themixture detection device according to claim 6, wherein the processor isfurther configured to execute the computer executable instructions toimplement the following steps: when the first calibration substance andthe standard sample substance are mixed according to a firstpredetermined proportion, setting the excitation intensity W of thesignal source, and setting the integration time T; obtaining therelative activity L of the standard sample substance, when thecharacteristic peak of the measurement spectrum line of the standardsample substance reaches the intensity value I(i); and adding therelative activity L of at least one standard sample substance to therelative activity database.
 8. The mixture detection device according toclaim 6, wherein the processor is further configured to execute thecomputer executable instructions to implement the following steps: whenthe first calibration substance and the standard sample substance aremixed according to a second predetermined proportion, setting theexcitation intensity W of the signal source, and setting the integrationtime T; obtaining the relative activity${L_{1} = {\sum\limits_{i = 0}^{n}{{L_{1}(i)}/n}}},$ L₁(i)=I₁(i)/(T*W)of the first calibration substance, when the characteristic peak of themeasurement spectrum line of the first calibration substance reaches theintensity value I₁(i); and the relative activity${L_{2} = {\sum\limits_{i = 0}^{n}{{L_{2}(i)}/n}}},$ L₂(i)=I₂(i)/(T*W)of the first calibration substance, when the characteristic peak of themeasurement spectrum line of a second calibration substance reaches theintensity value I₂(i); and calculating the constant C=L₁\L₂.
 9. Acomputer readable storage medium storing one or more programs, whereinthe one or more programs comprise instructions, and when being executedby a computer the instructions cause the computer to execute a mixturedetection method comprising: performing measurement spectrum linecollection on a mixture consisting of different kinds of substances toidentify the kinds of the substances in the mixture, wherein a solventof the mixture is a first calibration substance; selecting acharacteristic peak of a measurement spectrum line of each kind ofsubstance according to the kinds of the substances, and obtaining anintensity proportion of the characteristic peak of each kind ofsubstance; querying a relative activity database according to the kindsof the substances to obtain relative activity corresponding to each kindof substance, wherein the relative activity database comprises therelative activity L of at least one kind of standard sample substance,wherein ${L = {C{\sum\limits_{i = 0}^{n}{{L(i)}/n}}}},$ L(i)=I(i)/(T*W),and C is a constant; and when the first calibration substance is mixedwith the standard sample substance according to a first predeterminedproportion, T represents an integration time when the characteristicpeak of the measurement spectrum line of the standard sample substancereaches an intensity value I(i), W represents an excitation intensity ofa signal source of the measurement spectrum line, and n representscollection times of the intensity value of the measurement spectrum lineof the standard sample substance; and determining the proportioncontents of the different kinds of substances contained in the mixtureaccording to the intensity proportion of the characteristic peak of eachkind of substance and a quotient of the relative activities.
 10. Thecomputer readable storage medium according to claim 9, wherein whenbeing executed by the computer the instructions further cause thecomputer to implement the following steps: when the first calibrationsubstance and the standard sample substance are mixed according to afirst predetermined proportion, setting the excitation intensity W ofthe signal source, and setting the integration time T; obtaining therelative activity L of the standard sample substance, when thecharacteristic peak of the measurement spectrum line of the standardsample substance reaches the intensity value I(i); and adding therelative activity L of at least one standard sample substance to therelative activity database.